/*
 * Powered By XY
 * Since 2020
 */

package com.xy.biz.base.dao;

import com.xy.biz.base.domain.query.DictQuery;
import com.xy.biz.base.domain.req.ListDictItemRequest;
import com.xy.biz.base.domain.req.UpdateDictAllRequest;
import com.xy.lang.domain.StringKeyValue;

import java.util.List;

/**
 *
 *
 * @author zsp
 * @date 2020-5-23
 */
public interface DictGroupDao {

    /**
     *
     * @param type
     * @return
     */
    List<StringKeyValue> listDictGroupItem(Integer type);

    /**
     *
     * @param query
     * @return
     */
    List<StringKeyValue> listDictGroup(DictQuery query);

    /**
     *
     * @param request
     * @return
     */
    Integer updateAll(UpdateDictAllRequest request);

}
